<?php
/**
 * @version $Id: component.php 5173 2006-09-25 18:12:39Z Jinx $
 * @package Joomla
 * @subpackage Config
 * @copyright Copyright (C) 2005 - 2006 Open Source Matters. All rights reserved.
 * @license GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant to the
 * GNU General Public License, and as distributed it includes or is derivative
 * of works licensed under the GNU General Public License or other free or open
 * source software licenses. See COPYRIGHT.php for copyright notices and
 * details.
 */

jimport( 'joomla.application.component.view' );

/**
 * @package Joomla
 * @subpackage Config
 */
class Testview extends JView
{
	/**
	 * Display the view
	 */
	function display()
	{
		// load the component's language file
		//DEVNOTE: load component language. Print language name on thr last line.
		//
		$lang = & JFactory::getLanguage();
		$lang->load(JRequest::getVar( 'component' ));

		//DEVNOTE: set document title
		$document = & JFactory::getDocument();
		$document->setTitle( JText::_('HELLODEFAULT') );

    //DEVNOTE: Print Hellpworld and language name
		?><BR> <H1><?php	echo JText::_('HELLODEFAULT');?></H1>
      <BR><BR><H3><?php echo $lang->getName();?></H3><?php
  }
}
?>